import {BasicBo, SearchBo} from "@/common/BasicDto.ts";
import {Column} from "@/common/Column.ts";

export class CarportVo{
    public id?:number
    public area?:string
    public code?:string
    public isParking?:boolean
    public carPlate?:string

    public static getColumn(){
        return [
            new Column("区号","area"),
            new Column("车位号","code"),
            new Column("是否停车","isParking"),
            new Column("车牌号","carPlate"),
        ] as Array<Column>
    }
}

export class CarportBo extends BasicBo<CarportVo>{
    public id?:number
    public area?:string
    public code?:string
    public isParking?:boolean
    public carPlate?:string
}

export class CarportSearchBo extends SearchBo{
    public id?:number
}

